﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CustomerSummary>" %>
<%@ Import namespace="MvcApplication.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Display
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Display</h2>
    <fieldset>
        <legend>Practice for "DisplayForModel"</legend>
        <p>
            <%=Html.DisplayFor(customerSummary => customerSummary.Name)%>
            <%=Html.DisplayFor(customerSummary => customerSummary.Email)%>
            <%=Html.DisplayFor(customerSummary => customerSummary.ChildrenIDs, "Collection")%>
        </p>
        <p>
            <%=Html.EditorFor(customerSummary => customerSummary.Name, "MultilineText")%>
            <%=Html.EditorFor(customerSummary => customerSummary.Customer, "EmailAddressTemplate")%>
        </p>
    </fieldset>    
</asp:Content>
